package com.lanou3g.demo.entity;

import java.io.Serializable;

/**
 *  模块对应的信息的表对应的实体类
 */
public class ModuleInfo implements Serializable {
    private Integer moduleId;
    private String moduleName;

    private String linkAddress;
    private String icon;


    public ModuleInfo() {
    }

    public ModuleInfo(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public ModuleInfo(String linkAddress, String icon) {
        this.linkAddress = linkAddress;
        this.icon = icon;
    }

    public ModuleInfo(String moduleName, String linkAddress, String icon) {
        this.moduleName = moduleName;
        this.linkAddress = linkAddress;
        this.icon = icon;
    }

    public ModuleInfo(Integer moduleId, String moduleName, String linkAddress, String icon) {
        this.moduleId = moduleId;
        this.moduleName = moduleName;
        this.linkAddress = linkAddress;
        this.icon = icon;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getLinkAddress() {
        return linkAddress;
    }

    public void setLinkAddress(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "ModuleInfo{" +
                "moduleId=" + moduleId +
                ", moduleName='" + moduleName + '\'' +
                ", linkAddress='" + linkAddress + '\'' +
                ", icon='" + icon + '\'' +
                '}';
    }
}
